

/* loaded from: classes2.dex */
import 'dart:typed_data';

import 'package:flutter/material.dart';

class TextIconData {
     static Uint8List getImage1() {
        return Uint8List.fromList([15, -128, 16, 64, 36, 32, 73, 16, 68, -112, 64, -112, 68, -112, 73, 16, 36, 32, 16, 64, 15, -128, 0, 0]);
    }

     static Uint8List getImage2() {
        return Uint8List.fromList([15, -128, 16, 64, 43, 32, 82, -112, 75, 80, 66, 80, 74, 80, 82, -112, 43, 32, 16, 64, 15, -128, 0, 0]);
    }

     static Uint8List getImage3() {
        return Uint8List.fromList([15, -128, 16, 64, 44, 32, 70, -112, 66, 80, 64, 80, 66, 80, 70, -112, 44, 32, 16, 64, 15, -128, 0, 0]);
    }

     static Uint8List getImage4() {
        return Uint8List.fromList([15, -128, 16, 64, 44, 32, 76, 16, 72, 80, 64, 80, 76, 80, 76, -112, 40, 32, 16, 64, 15, -128, 0, 0]);
    }

     static Uint8List getImage5() {
        return Uint8List.fromList([15, -128, 16, 64, 36, 32, 72, -112, 81, 16, 65, 16, 81, 16, 72, -112, 36, 32, 16, 64, 15, -128, 0, 0]);
    }

     static Uint8List getImage6() {
        return Uint8List.fromList([30, 0, 33, 0, 94, -128, 95, 64, 47, -96, 23, -48, 47, -96, 95, 64, 94, -128, 33, 0, 30, 0, 0, 0]);
    }

     static Uint8List getImage7() {
        return Uint8List.fromList([12, 0, 11, 0, 8, -16, 24, 16, 32, 32, 64, 64, 32, 32, 24, 16, 8, -16, 11, 0, 12, 0, 0, 0]);
    }

     static Uint8List getImage8() {
        return Uint8List.fromList([3, -64, 4, -96, 24, 80, 52, -112, 113, 16, 115, 16, -15, 16, -12, -112, -40, 80, 4, -96, 3, -64, 0, 0]);
    }

     static Uint8List getImage9() {
        return Uint8List.fromList([1, -32, 7, 16, 26, 16, -77, 16, 26, 16, -77, 16, 26, 16, -77, 16, 26, 16, 7, 16, 1, -32, 0, 0]);
    }

     static Uint8List getImage10() {
        return Uint8List.fromList([15, 0, 22, -128, 38, 96, 41, 80, 118, -32, -26, 80, 118, -32, 41, 80, 38, 96, 22, -128, 15, 0, 0, 0]);
    }

     static Uint8List getImage11() {
        return Uint8List.fromList([15, -64, 16, 32, 44, -48, 54, -16, 34, -48, 120, -16, -94, -48, 54, -16, 44, -48, 16, 32, 15, -64, 0, 0]);
    }

     static Uint8List getImage12() {
        return Uint8List.fromList([7, 48, 8, -64, 18, -128, 52, -16, 82, -16, -48, -64, 82, -64, -76, -64, 18, -128, 8, -64, 7, 48, 0, 0]);
    }

     static Uint8List getImage13() {
        return Uint8List.fromList([4, 0, 7, -128, 10, 64, 9, 32, 48, -96, 32, 96, 32, -16, 16, -128, 89, 0, 38, 0, 80, 0, 0, 0]);
    }

     static Uint8List getImage14() {
        return Uint8List.fromList([0, 64, 2, -64, 23, 64, 59, 64, 123, 64, -5, 112, 123, 64, 59, 64, 23, 64, 2, -64, 0, 64, 0, 0]);
    }

     static Uint8List getImage15() {
        return Uint8List.fromList([56, -32, 69, -96, 75, 112, 81, 32, 73, 32, -63, 32, 73, 32, 81, 32, 75, 112, 69, -96, 56, -32, 0, 0]);
    }

     static Uint8List getImage16() {
        return Uint8List.fromList([30, 96, 19, -96, -75, 48, 121, -96, 117, 96, 113, 32, 117, 96, 121, -96, -75, 48, 19, -96, 30, 96, 0, 0]);
    }

     static Uint8List getImage17() {
        return Uint8List.fromList([3, -64, 4, 32, 120, -112, -127, 16, -16, -112, 8, 16, -16, -112, -127, 16, 120, -112, 4, 32, 3, -64, 0, 0]);
    }

     static Uint8List getImage18() {
        return Uint8List.fromList([31, -64, 32, 32, 68, -112, 73, 80, 37, -48, 33, 80, 37, -48, 73, 80, 68, -112, 32, 32, 31, -64, 0, 0]);
    }

     static Uint8List getImage19() {
        return Uint8List.fromList([28, 0, 62, 0, 63, 0, 63, -128, 27, -64, 1, -32, 16, -16, 80, -16, 77, -16, 65, -16, 56, -32, 0, 0]);
    }

     static Uint8List getImage20() {
        return Uint8List.fromList([0, 0, 0, 0, 60, -64, 126, -32, 102, 96, -1, -16, -1, -16, -1, -16, 102, 96, 119, -32, 51, -64, 0, 0]);
    }

     static Uint8List getImage21() {
        return Uint8List.fromList([7, -32, 8, 16, 8, 16, 16, 16, -32, 16, -128, 16, -120, 16, 116, 16, 4, 32, 4, 64, 7, -128, 0, 0]);
    }

     static Uint8List getImage22() {
        return Uint8List.fromList([0, 0, -1, -80, -1, -80, 0, 0, 0, 0, -1, -80, -1, -80, 0, 0, 0, 0, -1, -80, -1, -80, 0, 0]);
    }

     static Uint8List getImage23() {
        return Uint8List.fromList([32, 32, 16, 64, 8, -128, 37, 32, 18, 64, 8, -128, 37, 32, 18, 64, 8, -128, 5, 0, 2, 0, 0, 0]);
    }

     static Uint8List getImage24() {
        return Uint8List.fromList([2, 0, 5, 0, 8, -128, 18, 64, 37, 32, 8, -128, 18, 64, 37, 32, 8, -128, 16, 64, 32, 32, 0, 0]);
    }

     static Uint8List getImage25() {
        return Uint8List.fromList([70, 32, 32, 64, 6, 16, 15, 0, 31, -128, -33, -80, 31, -128, 15, 0, 6, 16, 32, 64, 70, 32, 0, 0]);
    }

     static Uint8List getImage26() {
        return Uint8List.fromList([31, 0, 63, -64, 127, -32, 31, -32, 7, -32, 3, -32, 3, -32, 35, -32, 81, -32, 33, -64, 3, -128, 0, 0]);
    }

     static Uint8List getImage27() {
        return Uint8List.fromList([7, 0, 4, -64, 4, 32, 4, 32, 56, 32, 68, 32, 64, 32, 80, 32, 66, 64, 63, -128, 16, 0, 0, 0]);
    }

     static Uint8List getImage28() {
        return Uint8List.fromList([30, 0, 33, 0, 77, -80, 92, -112, 66, -80, 68, -112, 66, -80, 92, -112, 77, -80, 33, 0, 30, 0, 0, 0]);
    }

     static Uint8List getImage29() {
        return Uint8List.fromList([0, -32, 3, 16, 13, 16, 25, 16, 41, 16, -23, 16, 105, 16, 25, 16, 5, 16, 3, 16, 0, -32, 0, 0]);
    }

     static Uint8List getImage30() {
        return Uint8List.fromList([0, 0, 70, 32, -71, -48, 54, -64, -90, 80, 89, -96, 89, -96, -90, 80, 54, -64, -71, -48, 70, 32, 0, 0]);
    }

     static Uint8List getImage31() {
        return Uint8List.fromList([0, 0, 56, 0, 124, 0, -1, -48, 124, 0, 56, 0, 0, 112, 0, -128, -65, 112, 0, -128, 0, 112, 0, 0]);
    }

     static Uint8List getImage32() {
        return Uint8List.fromList([14, 0, 21, 0, 36, -128, 36, -128, 18, 64, 18, 64, 18, 64, 36, -128, 36, -128, 21, 0, 14, 0, 0, 0]);
    }

     static Uint8List getImage33() {
        return Uint8List.fromList([7, 0, -23, -32, -103, 16, -119, 16, 73, 16, 63, -16, 73, 16, -119, 16, -103, 16, -23, -32, 7, 0, 0, 0]);
    }

     static Uint8List getImage34() {
        return Uint8List.fromList([0, 0, 0, -32, 1, -16, 1, -16, 1, -16, 0, -16, -1, -32, 96, 0, 48, 0, 16, 0, 16, 0, 0, 0]);
    }

     static Uint8List getImage35() {
        return Uint8List.fromList([-112, 0, -104, 0, 84, 0, 54, 16, 23, 16, 23, -16, 55, 16, 86, 16, 84, 0, 56, 0, 16, 0, 0, 0]);
    }

     static Uint8List getImage36() {
        return Uint8List.fromList([62, 0, 31, -32, 30, 0, 14, 0, 7, -128, 3, -32, 1, -32, 1, -32, 0, -32, 0, -32, 0, 96, 0, 0]);
    }

     static Uint8List getImage37() {
        return Uint8List.fromList([0, 0, 3, -64, 7, -32, 15, -16, 23, -16, 23, -16, -73, -16, 87, -16, -115, -16, 84, 96, 3, -64, 0, 0]);
    }

     static Uint8List getImage38() {
        return Uint8List.fromList([62, 0, 33, 32, 16, -96, 40, -112, 64, -128, -128, -16, 64, -128, 40, -112, 16, -96, 33, 32, 62, 0, 0, 0]);
    }

     static List<Uint8List> getIconArray() {
         List<Uint8List> arrayList = [];
         arrayList.add(getImage1());
         arrayList.add(getImage2());
         arrayList.add(getImage3());
         arrayList.add(getImage4());
         arrayList.add(getImage5());
         arrayList.add(getImage6());
         arrayList.add(getImage7());
         arrayList.add(getImage8());
         arrayList.add(getImage9());
         arrayList.add(getImage10());
         arrayList.add(getImage11());
         arrayList.add(getImage12());
         arrayList.add(getImage13());
         arrayList.add(getImage14());
         arrayList.add(getImage15());
         arrayList.add(getImage16());
         arrayList.add(getImage17());
         arrayList.add(getImage18());
         arrayList.add(getImage19());
         arrayList.add(getImage20());
         arrayList.add(getImage21());
         arrayList.add(getImage22());
         arrayList.add(getImage23());
         arrayList.add(getImage24());
         arrayList.add(getImage25());
         arrayList.add(getImage26());
         arrayList.add(getImage27());
         arrayList.add(getImage28());
         arrayList.add(getImage29());
         arrayList.add(getImage30());
         arrayList.add(getImage31());
         arrayList.add(getImage32());
         arrayList.add(getImage33());
         arrayList.add(getImage34());
         arrayList.add(getImage35());
         arrayList.add(getImage36());
         arrayList.add(getImage37());
         arrayList.add(getImage38());
        return arrayList;
    }
}


class PixelsViewDao{
  static List<String> getImageUrlList(){
    List<String> imageUrlList = [
      "assets/tubiao/text_emoji_01.png",
      "assets/tubiao/text_emoji_02.png",
      "assets/tubiao/text_emoji_03.png",
      "assets/tubiao/text_emoji_04.png",
      "assets/tubiao/text_emoji_05.png",
      "assets/tubiao/text_emoji_06.png",
      "assets/tubiao/text_emoji_07.png",
      "assets/tubiao/text_emoji_08.png",
      "assets/tubiao/text_emoji_09.png",
      "assets/tubiao/text_emoji_12.png",
      "assets/tubiao/text_emoji_13.png",
      "assets/tubiao/text_emoji_14.png",
      "assets/tubiao/text_emoji_15.png",
      "assets/tubiao/text_emoji_16.png",
      "assets/tubiao/text_emoji_17.png",
      "assets/tubiao/text_emoji_18.png",
      "assets/tubiao/text_emoji_19.png",
      "assets/tubiao/text_emoji_20.png",
      "assets/tubiao/text_emoji_21.png",
      "assets/tubiao/text_emoji_22.png",
      "assets/tubiao/text_emoji_23.png",
      "assets/tubiao/text_emoji_24.png",
      "assets/tubiao/text_emoji_25.png",
      "assets/tubiao/text_emoji_26.png",
      "assets/tubiao/text_emoji_27.png",
      "assets/tubiao/text_emoji_28.png",
      "assets/tubiao/text_emoji_29.png",
      "assets/tubiao/text_emoji_30.png",
      "assets/tubiao/text_emoji_31.png",
      "assets/tubiao/text_emoji_32.png",
      "assets/tubiao/text_emoji_33.png",
      "assets/tubiao/text_emoji_34.png",
      "assets/tubiao/text_emoji_35.png",
      "assets/tubiao/text_emoji_36.png",
      "assets/tubiao/text_emoji_37.png",
      "assets/tubiao/text_emoji_38.png",
    ];
    return imageUrlList;
  }
}

enum ViewType{
  text,
  image
}

class ViewModel{
  ViewType viewType;
  String? text;
  String? imageUrl;
  ViewModel({required this.viewType, this.text="", this.imageUrl=""});
}


///像素转换结果
class ToPixelsConversionResult {
  ToPixelsConversionResult({
    required this.imageBytes,//图像字节
    required this.pixels//像素
  });

  final ByteData imageBytes;//图像字节
  final List<List<Color>> pixels;//像素
}
